package mygame.role.enums;

public enum Gender {
    MAN(0,"男"),
    WOMAN(1,"女");

    private int value;
    private String desc;

    Gender(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
